import Mock from 'mockjs'
import '@/mock/extend'
const BASE_URL = process.env.VUE_APP_API_BASE_URL

const list = Mock.mock({
  data:{
    'totalRow':100,
    'list|100': [{
      'id|+1': 1,
      'programName':'@cname',
      'orgName': `@cname`,
      'startDate': '@DATE',
      'endDate': '@DATE',
      'startTime': '@TIME',
      'endTime': '@TIME',
    }]
  }
})
Mock.mock(`${BASE_URL}/program/queryAll`, 'post', () => {
  return list
})
